/*****************************************************************************/
/*																			 */
/*                           System Configurations                           */
/*																			 */
/*****************************************************************************/
#ifndef __CONFIG_H__
#define __CONFIG_H__

//#define INTERNAL_MCU -- defined by Project Compiler session

//-----------------------------------------------------------------------------
//		Hardware Version
//-----------------------------------------------------------------------------
//#define TW8823EVB
#define TW8823SHDEMO
#define address_32bit


//-----------------------------------------------------------------------------
//		Panel Vendor Specific
//-----------------------------------------------------------------------------
#ifdef TW8823EVB
#define TW8823INNOLUX
#endif

#ifdef TW8823SHDEMO
#define TW8823INNOLUX
//#define TW8823HANSTAR
#endif

//-----------------------------------------------------------------------------
//		Firmware Version
//-----------------------------------------------------------------------------
#ifdef TW8823EVB
#define	FWVER			0x010A		// Rev 0.10
#endif

#ifdef TW8823SHDEMO
#ifdef TW8823INNOLUX
#define	FWVER			0x010B		// Rev 0.10
#endif
#ifdef TW8823HANSTAR
#define	FWVER			0x010C		// Rev 0.10
#endif
#endif
//-----------------------------------------------------------------------------
//		SPI Read Mode
//-----------------------------------------------------------------------------
#define	SPI_READ_SLOW		0
#define SPI_READ_FAST 		1
#define SPI_READ_DUAL	 	2
#define SPI_READ_QUAD  		3
#define SPI_READ_DUALIO		4
#define SPI_READ_QUADIO		5

#define SPI_READ_MODE		SPI_READ_SLOW
//#define SPI_READ_MODE		SPI_READ_QUADIO

#define	REG_START_ADDRESS	0xc000		// register start 0xc000, for page0, 0xc100-page1 

//-----------------------------------------------------------------------------


//-----------------------------------------------------------------------------
//		IR Remote Controller Type
//-----------------------------------------------------------------------------
#define REMO_RC5					// RC5 style
#define TECHWELL_REMOCON
//#define REMO_NEC					// NEC style
//#define PHILIPS_REMOCON // New remocon 

//-----------------------------------------------------------------------------
//		I2C Device Access Address Mapping
//-----------------------------------------------------------------------------
#define TW88I2CAddress		0x88	// TW880x


#endif // __CONFIG_H__
